-- GENERATED SPELL FOR [Oil-covered Hawk] --


function spell0_25748(pUnit, Event) --@Oily Coat,Self--
pUnit:FullCastSpellOnTarget(50280,pUnit)
pUnit:RegisterEvent('Sorts_25748', 5315, 1)
end

function Sorts_25748(pUnit, Event)
local choix_sorts_25748 = math.random(0, 0)
if choix_sorts_25748 == 0 then
pUnit:RegisterEvent('spell0_25748', 1, 1)
end
end

function mob25748_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25748', math.random(1500, 3000), 1)
end

function mob25748_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25748_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25748_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25748, 1, 'mob25748_Action')
RegisterUnitEvent(25748, 2, 'mob25748_Leave')
RegisterUnitEvent(25748, 3, 'mob25748_Kill')
RegisterUnitEvent(25748, 4, 'mob25748_Die')
